package com.erms.bean;

/**
 * Major entity. @author MyEclipse Persistence Tools
 */


public class Major implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long	serialVersionUID	= 4824166691239330036L;
	// Fields

	private String		id;
	private Department	department;
	private String		name;
	private String		information;

	// Constructors

	/** default constructor */
	public Major() {

	}

	/** minimal constructor */
	public Major(String id, Department department, String name) {

		this.id = id;
		this.department = department;
		this.name = name;
	}

	/** full constructor */
	public Major(String id, Department department, String name,
			String information) {

		this.id = id;
		this.department = department;
		this.name = name;
		this.information = information;
	}

	// Property accessors

	public String getId() {

		return this.id;
	}

	public void setId(String id) {

		this.id = id;
	}

	public Department getDepartment() {

		return this.department;
	}

	public void setDepartment(Department department) {

		this.department = department;
	}

	public String getName() {

		return this.name;
	}

	public void setName(String name) {

		this.name = name;
	}

	public String getInformation() {

		return this.information;
	}

	public void setInformation(String information) {

		this.information = information;
	}

}
